var v = new Vue({
    el: "#app",
    data: {
        serchText: '',
        serchHistory: ["三文鱼"],
        serchFind: ["麻辣烫", "米线", "披萨", " 蛋糕", " 汉堡", "腊八粥",
            "烤肉拌饭", "炸鸡", "味多美"
        ]
    },
    methods: {
        serchClick() {
            if (this.searchText) {
                this.serchHistory.push(this.serchText);
                this.serchText = '';
            }

        }
    },
})